<?php

import("@.Org.FlowTool");

function get_detail_retail($retail_list = array()){
	if(empty($retail_list)){ 
		return array();
	}
	foreach($retail_list as $k=>$retail){
		$retail_list[$k]['country_name'] 	= 	get_region_name($retail['country']);
		$retail_list[$k]['province_name'] 	= 	get_region_name($retail['province']);
		$retail_list[$k]['city_name']	 	= 	get_region_name($retail['city']);
		$retail_list[$k]['district_name'] 	= 	get_region_name($retail['district']);				
	}
	return $retail_list;
}

